package com.atstudy.headline.web.admin.mapper;

import com.atstudy.headline.entity.Users;
import com.atstudy.headline.web.admin.vo.users.UserInfoQueryVo;
import com.atstudy.headline.web.admin.vo.users.UserLoginInfoVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.catalina.User;

/**
* @author A
* @description 针对表【users(用户基础信息表)】的数据库操作Mapper
* @createDate 2025-06-12 13:53:50
* @Entity com.atstudy.headline.entity.Users
*/
public interface UsersMapper extends BaseMapper<Users> {

    /**
     * 登录
     *
     * @param username
     * @return
     */
    Users selectOneByUsername(String username);

    /**
     * 根据用户ID查询用户信息
     * @param queryVo
     * @return
     */
    IPage<Users> pageInfoByUsers(IPage<Users> page, UserInfoQueryVo queryVo);




}




